package com.ruoyi.business.domain.dto.admin.wecom;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel("管理台分页查询企微群列表DTO")
public class WecomGroupMemberPageQueryDTO implements Serializable {

    /**
     * 企微群id
     */
    @ApiModelProperty(value = "企微客户群id")
    @NotBlank(message = "企微客户群id不能为空")
    private String chatId;

    @ApiModelProperty(value = "在群里的昵称")
    private String groupNickname;

    @ApiModelProperty(value = "名字。仅当 need_name = 1 时返回\n" +
        "如果是微信用户，则返回其在微信中设置的名字\n" +
        "如果是企业微信联系人，则返回其设置对外展示的别名或实名")
    private String name;


    @ApiModelProperty(value = "成员类型。\n" +
        "1 - 企业成员\n" +
        "2 - 外部联系人")
    private Integer userType;


    @ApiModelProperty(value = "入群方式。\n" +
        "1 - 由群成员邀请入群（直接邀请入群）\n" +
        "2 - 由群成员邀请入群（通过邀请链接入群）\n" +
        "3 - 通过扫描群二维码入群")
    private Integer joinScene;


    @ApiModelProperty(value = "0 在群 1已退群")
    private Integer status;


}
